package com.zlsoft.sbsm.dto.user;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * @ Author     ：Mr.LinYang Tang
 * @ Date       ：Created in 19:43 2020/11/28
 * @ Company：ZLSOFT
 */
@Data
@NoArgsConstructor
public class LoginDTO {

    @NotBlank(message = "{username.not-blank}")
    private String username;

    @NotBlank(message = "{password.new.not-blank}")
    private String password;
}
